﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BRL;
using BLL;
using System.Data;

namespace CentroMedico
{
    public partial class centro : System.Web.UI.MasterPage
    {
        public BRL_CentroMedico svcCentro = new BRL_CentroMedico();
        public BLL_CentroMedico objCentro = new BLL_CentroMedico();
    
        protected void Page_Load(object sender, EventArgs e)
        {
            objCentro = svcCentro.getCentroMedico();
            mostrarDatosCentro();
        }

        public void mostrarDatosCentro()
        {   
            lblDireccion.Text = objCentro.direccion;
            lblEmail.Text = objCentro.mail;
            lblTelefono.Text = objCentro.telefono;
            lblnombre.Text = objCentro.nombre;
            lblnombre1.Text = objCentro.nombre;
        }
    }
}